Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NGeometry2D Class / Translate Method / Translate(NPoint[],Int32,Int32,Double,Double) Method
array of points
the index of the first point
the count of points to perform operation upon
x offset
y offset


In This Topic
    Translate(NPoint[],Int32,Int32,Double,Double) Method
    In This Topic
    Translates a range of points from the specified array
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Translate( _
       ByVal points() As NPoint, _
       ByVal start As System.Integer, _
       ByVal count As System.Integer, _
       ByVal dx As System.Double, _
       ByVal dy As System.Double _
    ) 
    'Usage
     
    
    Dim points() As NPoint
    Dim start As System.Integer
    Dim count As System.Integer
    Dim dx As System.Double
    Dim dy As System.Double
     
    NGeometry2D.Translate(points, start, count, dx, dy)
    public static void Translate( 
       NPoint[] points,
       System.int start,
       System.int count,
       System.double dx,
       System.double dy
    )

    Parameters

    points
    array of points
    start
    the index of the first point
    count
    the count of points to perform operation upon
    dx
    x offset
    dy
    y offset
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also